<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>菜单</title>
<%@ include file="/pages/common/base/Base.jsp"%>
<link rel="stylesheet" href="/web2019/layui/css/layui.css" media="all">
<link rel="stylesheet" href="/web2019/css/ha.css" media="all">
<script src="/web2019/layui/layui.js"></script>
<script src="/web2019/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="/${res.contextPath}/js/finance/addDailyBalancePay.js?version=${res.version}"></script>
<script>
	$(function(){
		AddDailyBalancePay.initPage("${res.contextPath}");	
	});
  </script>
</head>
<script>
	(function(doc, win) {
		var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange'
				: 'resize', recalc = function() {
			var clientWidth = docEl.clientWidth;
			if (!clientWidth)
				return;
			docEl.style.fontSize = 50 * (clientWidth / 375) + 'px';
		};
		if (!doc.addEventListener)
			return;
		win.addEventListener(resizeEvt, recalc, false);
		doc.addEventListener('DOMContentLoaded', recalc, false);
	})(document, window)
</script>
<body>
		<header class="header">
		<div class="xg-cells">
		        <div class="xg-cell title" id="pageTitle">添加每天收支</div>
		        <div class="title" id="userName"><shiro:principal property="realName"/></div>
		</div>
		</header>
		<div class="placeholder-20"></div>
		<form class="layui-form">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">日期选择</label>
				<div class="layui-input-block">
					<input type="text" name="date" id="date" autocomplete="off"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">分类<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<select id="balanceType" name="balanceType" lay-verify="required" lay-search >
							<z:options method="systemServiceBiz.selectCatalog1(1)"  isfull="false" text="name" value ="catalogId"></z:options>
						</select>
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">账号<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<select id="accountA" name="accountA" lay-verify="required">
							<z:options method="systemServiceBiz.selectAccount()"  isfull="false" text="accountName" value ="accountId"></z:options>
						</select>
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">金额<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="money" lay-verify="required"
							autocomplete="off" placeholder="请输入金额" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">备注</label>
					<div class="layui-input-block">
						<textarea placeholder="请输入内容" name="remark" class="layui-textarea"
							></textarea>
					</div>
			</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
			</div>
		</div>
		</div>
	</form>
</body>
</html>

